<?php 
/* SVN FILE: $Id$ */
/* AuctionLog Test cases generated on: 2009-05-30 14:05:47 : 1243707647*/
App::import('Model', 'AuctionLog');

class AuctionLogTestCase extends CakeTestCase {
	var $AuctionLog = null;
	var $fixtures = array('app.auction_log');

	function startTest() {
		$this->AuctionLog =& ClassRegistry::init('AuctionLog');
	}

	function testAuctionLogInstance() {
		$this->assertTrue(is_a($this->AuctionLog, 'AuctionLog'));
	}

	function testAuctionLogFind() {
		$this->AuctionLog->recursive = -1;
		$results = $this->AuctionLog->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('AuctionLog' => array(
			'id'  => 1,
			'act_user'  => 1,
			'bid_user'  => 1,
			'bid_price'  => 1,
			'bid_time'  => '2009-05-30 14:20:45'
		));
		$this->assertEqual($results, $expected);
	}
}
?>